Platform Explorer / Nuxeo Platform 2021.49

Contribution org.nuxeo.ecm.platform.routing.admincenter--contentViews

This contribution is part of XML component org.nuxeo.ecm.platform.routing.admincenter inside nuxeo-routing-web-2021.49.2.jar /OSGI-INF/document-routing-admincenter-contrib.xml

Extension Point

Extension point contentViews of component ContentViewService.

Registration Order

12
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <contentView name="admin_workflow_models">
          <title>label.admin.workflow.models</title>
          <translateTitle>true</translateTitle>
          <showTitle>false</showTitle>
          <coreQueryPageProvider>
            <property name="coreSession">#{documentManager}</property>
            <pattern>SELECT * FROM DocumentRoute WHERE ecm:path STARTSWITH
              '/document-route-models-root' AND ecm:isTrashed = 0
            </pattern>
            <sort ascending="true" column="dc:title"/>
            <pageSize>20</pageSize>
          </coreQueryPageProvider>
          <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
          </cacheKey>
          <cacheSize>10</cacheSize>
          <refresh>
            <event>documentChildrenChanged</event>
          </refresh>
          <resultLayouts>
            <layout iconPath="/icons/document_listing_icon.png" name="document_route_models_listing_ajax" showCSVExport="true" showPDFExport="true" showSyndicationLinks="false" title="document_listing" translateTitle="true"/>
          </resultLayouts>
          <selectionList>CURRENT_SELECTION</selectionList>
          <actions category="CURRENT_SELECTION_LIST"/>
        </contentView>

XML Source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">

    <contentView name="admin_workflow_models">
      <title>label.admin.workflow.models</title>
      <translateTitle>true</translateTitle>
      <showTitle>false</showTitle>
      <coreQueryPageProvider>
        <property name="coreSession">#{documentManager}</property>
        <pattern>SELECT * FROM DocumentRoute WHERE ecm:path STARTSWITH
          '/document-route-models-root' AND ecm:isTrashed = 0
        </pattern>
        <sort ascending="true" column="dc:title"/>
        <pageSize>20</pageSize>
      </coreQueryPageProvider>
      <cacheKey>#{org.jboss.seam.core.manager.currentConversationId}
      </cacheKey>
      <cacheSize>10</cacheSize>
      <refresh>
        <event>documentChildrenChanged</event>
      </refresh>
      <resultLayouts>
        <layout iconPath="/icons/document_listing_icon.png" name="document_route_models_listing_ajax" showCSVExport="true" showPDFExport="true" showSyndicationLinks="false" title="document_listing" translateTitle="true"/>
      </resultLayouts>
      <selectionList>CURRENT_SELECTION</selectionList>
      <actions category="CURRENT_SELECTION_LIST"/>
    </contentView>

  </extension>